import unittest

import ddt
import requests

from ddtDemo.fileData.fileData import FileData


@ddt.ddt
class QueryTest(unittest.TestCase):

    # @ddt.data(*FileData().get_query_data())
    # @ddt.file_data("F:/pythonDemo/ddtDemo/test.json")
    @ddt.file_data("F:/pythonDemo/ddtDemo/test.yaml")
    @ddt.unpack
    def test_01_query(self, **parm):
        # requests.get()
        print("parm")
        print(parm["tags"])

if __name__ == '__main__':
    unittest.main()